{load_language_text section="checkout_shipping"} {load_language_text section="checkout_shipping_options" name="optionstxt"} {block name="checkout_shipping_modules"} {block name="checkout_shipping_modules_title"}

{$txt.text_shipping}

{/block} {block name="checkout_shipping_modules_free_shipping_if"} {if $FREE_SHIPPING && !$module_content} {block name="checkout_shipping_modules_free_shipping_list"}

- {block name="checkout_shipping_modules_free_shipping_container"}
  {block name="checkout_shipping_modules_free_shipping_info"} {block name="checkout_shipping_modules_free_shipping_title"} {$FREE_SHIPPING_TITLE} {/block} {block name="checkout_shipping_modules_free_shipping_description"} {if $module_data.module} {$module_data.module}
  {/if} {$FREE_SHIPPING_DESCRIPTION} {/block} {/block} {block name="checkout_shipping_modules_free_shipping_icon"} {/block}
  {/block}
  {block name="shipping_modules_shipping_options"} {if $FREE_SHIPPING_OPTIONS}
  {foreach $FREE_SHIPPING_OPTIONS as $option}
  {if $option.type === 'bool'} {$optionstxt[$option.label]} ({$optionstxt[$option.description]}) {/if} {if $option.type === 'heading'}
  {$optionstxt[$option.label]}
  {$optionstxt[$option.description]}
  {/if} {if $option.type === 'multi'}
  {$optionstxt[$option.label]}
  {foreach $option.values as $multientry} {if $optionstxt[$multientry.label]}{$optionstxt[$multientry.label]}{else}{$multientry.label}{/if} {/foreach}
  {/if} {if $option.type === 'text'}
  {$optionstxt[$option.label]}
  {/if}
  {/foreach}
  {/if} {/block}

{/block} {else} {block name="checkout_shipping_modules_list"}

{foreach name=aussen item=module_data from=$module_content} {if $module_data.methods && $module_data.methods|@count > 0} {block name="checkout_shipping_modules_item"}
- {foreach key=counter name=aussen item=method_data from=$module_data.methods}
  {block name="checkout_shipping_modules_item_if"} {if $module_data.methods && $module_data.methods|@count == 1 && !$module_data.error} {block name="checkout_shipping_modules_item_method"}
  {block name="checkout_shipping_modules_item_method_label"} {block name="checkout_shipping_modules_item_method_selection"} {if $has_multiple_options} {else} {/if} {/block} {block name="checkout_shipping_modules_item_method_module_info"} {block name="checkout_shipping_modules_item_method_module_info_title"} {$module_data.module} {/block} {block name="checkout_shipping_modules_item_method_module_info_price_if"} {if $method_data.price} {block name="checkout_shipping_modules_item_method_module_info_price"} ({$method_data.price|ltrim}) {/block} {/if} {/block} {block name="checkout_shipping_modules_item_method_module_info_description"} {$method_data.title} {/block} {/block} {block name="checkout_shipping_modules_item_method_icon"} {/block} {/block}
  {/block} {elseif $module_data.error} {block name="checkout_shipping_modules_item_error"}
  {block name="checkout_shipping_modules_item_error_label"} {block name="checkout_shipping_modules_item_error_selection"} {/block} {block name="checkout_shipping_modules_item_error_module_info"} {block name="checkout_shipping_modules_item_error_module_info_title"} {$module_data.module} {/block} {block name="checkout_shipping_modules_item_error_module_info_description"} {$module_data.error} {/block} {/block} {block name="checkout_shipping_modules_item_error_icon"} {/block} {/block}
  {/block} {else} {block name="checkout_shipping_modules_item_group"} {if $smarty.foreach.aussen.first}
  {block name="checkout_shipping_modules_item_group_first_label"} {block name="checkout_shipping_modules_item_group_first_selection"} {/block} {block name="checkout_shipping_modules_item_group_first_module_info"} {block name="checkout_shipping_modules_item_group_first_module_info_title"} {$module_data.module} {/block} {/block} {block name="checkout_shipping_modules_item_group_first_icon"} {/block} {/block}
  {/if}
  {block name="checkout_shipping_modules_item_group_label"} {block name="checkout_shipping_modules_item_group_selection"} {/block} {block name="checkout_shipping_modules_item_group_module_container"} {block name="checkout_shipping_modules_item_group_module_info"} {block name="checkout_shipping_modules_item_group_module_info_title"} {$method_data.title} {/block} {block name="checkout_shipping_modules_item_group_module_info_price_if"} {if $method_data.price} {block name="checkout_shipping_modules_item_group_module_info_price"} ({$method_data.price|ltrim}) {/block} {/if} {/block} {/block} {/block} {/block}
  {/block} {/if} {/block}
  {/foreach} {block name="shipping_modules_shipping_options"} {if $module_data.shipping_options && !$module_data.error}
  {foreach $module_data.shipping_options as $option}
  {if $option.type === 'heading'}
  {$optionstxt[$option.label]}
  {$optionstxt[$option.description]}
  {/if} {if $option.type === 'multi'}
  {$optionstxt[$option.label]}
  {foreach $option.values as $multientry} {if $optionstxt[$multientry.label]}{$optionstxt[$multientry.label]}{else}{$multientry.label}{/if} {/foreach}
  {/if} {if $option.type === 'text'}
  {$optionstxt[$option.label]}
  {/if}
  {/foreach}
  {/if} {/block}
{/block} {else} {block name="checkout_shipping_modules_no_method"}
- {block name="checkout_shipping_modules_no_method_label"} {block name="checkout_shipping_modules_no_method_selection"} {/block} {block name="checkout_shipping_modules_no_method_module_info"} {block name="checkout_shipping_modules_no_method_module_info_title"} {$module_data.module} {/block} {block name="checkout_shipping_modules_no_method_module_info_description"} {$module_data.error} {/block} {/block} {block name="checkout_shipping_modules_no_method_icon"} {/block} {/block}
{/block} {/if} {/foreach}

{/block} {/if} {/block} {literal}
{/literal} {/block}